import { Controller, Get, Query } from '@nestjs/common';
import { AppService } from './app.service';
@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}
  @Get('createNewChat')
  createNewChat(@Query('modelName') modelName: string) {
    return this.appService.createNewChat(modelName);
  }
}
